package entity;

import java.io.Serializable;

public class Dept implements Serializable {

    private Integer deptId;
    private String deptName;
    private String deptAdds;

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptAdds() {
        return deptAdds;
    }

    public void setDeptAdds(String deptAdds) {
        this.deptAdds = deptAdds;
    }

    public Dept(Integer deptId, String deptName, String deptAdds) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.deptAdds = deptAdds;
    }

    public Dept() {
    }

    @Override
    public String toString() {
        return "Dept{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", deptAdds='" + deptAdds + '\'' +
                '}';
    }
}
